| TestNew | Middleware initialization | Middleware successfully initializes and passes requests through |
| TestMarshalUnmarshal - nil | Nil value encoding/decoding | Correctly encodes and decodes nil values |
| TestMarshalUnmarshal - true/false | Boolean encoding/decoding | Correctly encodes and decodes true/false values |
| TestMarshalUnmarshal - positive int | Positive integer encoding | Correctly encodes and decodes positive integers |
| TestMarshalUnmarshal - negative int | Negative integer encoding | Correctly encodes and decodes negative integers |
| TestMarshalUnmarshal - zero | Zero value encoding | Correctly encodes and decodes zero |
| TestMarshalUnmarshal - large int | Large integer encoding | Correctly encodes and decodes large integers (1000000) |
| TestMarshalUnmarshal - uint | Unsigned integer encoding | Correctly encodes and decodes unsigned integers |
| TestMarshalUnmarshal - float64 | Float64 encoding | Correctly encodes and decodes float64 values |
| TestMarshalUnmarshal - string | String encoding | Correctly encodes and decodes strings |
| TestMarshalUnmarshal - empty string | Empty string encoding | Correctly encodes and decodes empty strings |
| TestMarshalUnmarshal - long string | Long string encoding | Correctly encodes and decodes strings exceeding 31 bytes |
| TestMarshalArray | Array encoding/decoding | Correctly encodes and decodes arrays with multiple elements |
| TestMarshalMap | Map encoding/decoding | Correctly encodes and decodes maps with string keys |
| TestMarshalBinary | Binary data encoding | Correctly encodes and decodes raw byte slices |
| TestResponse | HTTP response generation | Sets correct Content-Type header and encodes response data |
| TestBind | Request body parsing | Correctly parses MessagePack request bodies |
| TestBody | Raw body retrieval | Retrieves raw MessagePack body from context |
| TestEncoderIntegers - zero | Zero integer | Encodes/decodes zero correctly |
| TestEncoderIntegers - positive fixint | Positive fixint (100) | Uses optimized fixint encoding |
| TestEncoderIntegers - negative fixint | Negative fixint (-20) | Uses optimized negative fixint encoding |
| TestEncoderIntegers - int8 positive | int8 range (127) | Uses int8 encoding |
| TestEncoderIntegers - int8 negative | int8 range (-128) | Uses int8 encoding |
| TestEncoderIntegers - int16 positive | int16 range (1000) | Uses int16 encoding |
| TestEncoderIntegers - int16 negative | int16 range (-1000) | Uses int16 encoding |
| TestEncoderIntegers - int32 positive | int32 range (100000) | Uses int32 encoding |
| TestEncoderIntegers - int32 negative | int32 range (-100000) | Uses int32 encoding |
| TestEncoderIntegers - int64 positive | int64 range (5000000000) | Uses int64 encoding |
| TestEncoderIntegers - int64 negative | int64 range (-5000000000) | Uses int64 encoding |
| TestEncoderFloats - float32 | float32 encoding | Encodes/decodes float32 with correct precision |
| TestEncoderFloats - float64 | float64 encoding | Encodes/decodes float64 with correct precision |
| TestUnsupportedType | Unsupported type error | Returns ErrUnsupportedType for custom structs |
| TestEmptyBuffer | Empty buffer error | Returns error when unmarshaling empty buffer |