Update test_ringbuffer.c