add subobject test.