add karma test coverage