Issue #29073: Added a test for bytearray formatting with null byte.