added BufferTests