added code coverage with karma