Adding/Refactoring unit test for ConditionFactory/ConditionManagerAbstract