Fixed a warning in PriorityQueueTest, and some dot syntax //FREEBIE

- Also simplified the comparators