Test Queue::dequeue