Trying to get mocha testing of cockpit working