Mock ArrayAccess proper

this has had me stumped for a while on why my stuff would only work in
phpunit but not in cli vice versa, lesson learnt! Mocks do not replicate
working ArrayAccess interfaces and i didn't think of that for a loooong
time.