[DDC-3156] [DDC-3120] -- Added test case for entities extending SPL ArrayObject