update mocha test.js