Test buffer::append overload