Add test for byte_buffer
&(*buf_)[0] is undefined if buf_->size() == 0