Test Queue::dequeue()