Fix: tests with FlexibleCriterion
removed other useless variables