trying to fix karma tests