Improve TestCoverage in RingBufferTest