Add jasmine unit tests.