Merging ConditionTestBase with RulesTestBase.
Fixing test condition in PathAliasExistsTest.