karma tests
Update karma tests