Fixed broken Jasmine test.