Finish unit tests for RingBufferIndex.