add mocha as dev depency