add mocha as dev dependency