@Test
    public void testTaggedFieldsShouldSupportFlexibleVersionSubset() {
        SimpleExampleMessageData message = new SimpleExampleMessageData()
            .setTaggedLongFlexibleVersionSubset(15L);

        testRoundTrip(
            message,
            msg -> assertEquals(15, msg.taggedLongFlexibleVersionSubset),
            (short) 2
        );

        SimpleExampleMessageData deserialized = roundTripSerde(message, (short) 1);
        assertEquals(new SimpleExampleMessageData(), deserialized);
        assertEquals(0, deserialized.taggedLongFlexibleVersionSubset);
    }
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