Testing a problem with Jasmine-node