closed #5392: add priority check for schedulePerFrame() and add a ScheduleUpdatePriority test.