Add test for minPriority worker