Added Karma testing.