adding mocha as a dependency