Fix jasmine specs