adds mocha as dev dependency