add code coverage to karma test