Beginning of test for the buffer protocol.