PriorityJobQueue: added assertion to prevent null pointer exception
Testing PriorityJobQueue reordering