Add an API for wrapping objects into content scope
Extend the FBTest for issue 6525 to cover array access