Fixing karma tests of SkipLogicParser