Changed order dependencies and setting up mocha.