implement test this buffer