add Pat's RingBuffer as a test-case