Fix karma test configuration