Byte-by-byte error check for headers consumer unit test