try to fix karma unit tests