Add karma tests.