Add tests for ref array() / object() getters