changes mocha.js to index.js so tests will run correctly