Some protocol compliance tests should be specified for the various encodings of unions that are specified in alloy : https://github.com/disneystreaming/alloy/tree/main/modules/protocol-tests/resources/META-INF/smithy