Fixed the karma-jasmine test.