More tests for ArrayAccessor and fixes to JsonPointer