fix(tests): fixing karma tests