fix jasmine test