Add code coverage for karma