Testing the buffer