Add test.js for testing node.