Fix Jasmine test