Fix Karma warning