Issue #504 - Add variable doctrine in EntangleTestCase