Fix jasmine spec