added jasmine unit test