PriorityQueue tests