Pilots had 40 seconds to fix error in Boeing 737 simulation tests