add mocha as a dev dependency