add AssertSameStruct func