Testing node.js code