Add node.js tests. Now works In node.js