@Test
    public void testCommonStruct() {
        SimpleExampleMessageData message = new SimpleExampleMessageData();
        message.setMyCommonStruct(new SimpleExampleMessageData.TestCommonStruct()
            .setFoo(1)
            .setBar(2));
        message.setMyOtherCommonStruct(new SimpleExampleMessageData.TestCommonStruct()
            .setFoo(3)
            .setBar(4));
        testRoundTrip(message, (short) 2);
    }
Check following cases:
1. Tagged struct can be serialized/deserialized for version it is supported
2. Tagged struct doesn't matter for versions it is not declared.
clients/src/test/java/org/apache/kafka/common/message/SimpleExampleMessageTest.java