test case with node.js