Updated to use latest karma. Added code coverage.