Testing apps with node.js