Add tests for the watermark after SmartBuffer::alloc().