fix Jasmine test