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

...leUpdatePriority test.