Fixes: karma tests