2.5-Hash support of ArrayAccess and ArrayObject

hi, i test this changes with cake-entity plugin on 2.5.
I know that this change is needed in Version 3. But I did the right thing?
I can  add more tests ArrayObject, but with ArrayAccess have no idea.
Do you have any suggestions?