Added circular buffer test.