testing through node-jasmine