Fix failing Jasmine test.