Testing server side scripts of node.js