Prefer ByteSource payload

Also use randomByteSource for test input.