Use uint8_t arrays for payloads in tests so we can include \0.