fix karma tests after jasmine update