improved ringbuffer test
test tweaking