adds test_read test for circularbuffer