fix priority queue unit tests