CRM-1659: Implement DoctrineExtensions for Oro - tests