Fixing test.js

flightPackage.run is async method, use done cb