First unit tests for RingBuffer.