added new karma tests