I was a naval officer and aviator. I tested airplanes and got selected to be an astronaut later on. – Jim Lovell