update some node.js testing methods