Years of testing, emergency systems and sensors have gone into protecting the astronauts set to head to the moon.