Test ArrayObjectWithDefaultValue class.