testhelper for node.js