Tests and trials using node.js