FLUID-5212: added a test case of invokers resolution.
FLUID-5212: Fix for priority amongst dynamic grades - these should continue to be ordered by arrival