PriorityQueueTest queue and dequeue