Doctrine 2 - ORM

[GH-693] Adding failing test for DDC-2214