Add tests for array and list, and remove old and obsolete ringbuffer.