update karma tests