Fix error when we using node.js for tests