Add Karma test for testing