Test structure/unstructure custom objects