Add tests for CircularQueue.