Balloon-borne planetary atmospheric sounder tested in the terrestrial environment