updating karma tests