A spaceship designed to ferry astronauts into orbit by 2017 is set for a major test Wednesday, when SpaceX plans to blast the capsule away from Cape Canaveral on a mile-high demo flight to simulate the craft’s ability to protect occupants in the event of a catastrophic rocket mishap on the pad.