add karma coverage for unit test.