add jasmine unit test