add ring buffer test
fix event translator interface, update ringbuffer
add ring buffer tests