Add jasmine unit test