improve Code example for ConditionManagerTest