added circularbuf test