Jasmine spec fix