Issue #2346659: Really fixed tests and introduced RulesEntityIntegrationTestBase.