Fix jasmine unit tests.