test_ringbuffer.c: now we are into the "interesting" crash range

OK, now to debug the atomic code... and the test.