Fix mocha tests (js-node)