Added jasmine test coverage