Changed npm test script to use mocha as test runner