Added an extra unit test to get a little more coverage in PriorityScheduler
This also has some reduced code duplication in unit tests around submitting tasks to an executor.