addCondition tests