fixed broken BufferTests