repair karma tests