Bug 8918: (follow-up) more unit tests for CalculatePriority