Added test for priority queue
Inverted ordering of times lines