added mocha as npm dependency