Updated jsdocs for FlightBase.
Added som tests. Updated definitions.