PriorityQueue testing.