Small fix for Karma tests 2