Fix jasmine test