Throw is not working with jasmine-node.