East Hartford-based Pratt & Whitney, a division of United Technologies Corp., is planning to open a new $12 million facility in Middletown. The facility will be designed to test engine parts and gear under in-flight conditions, including simulations of 45,000-foot altitudes.