adding mocha as a dev dependency