updates karma tests