You could do a require_once in tests/entity/rule_entity_base.php