jasmine unit tests.