Test with ByteBuffer