Added unit tests to check that the AbdstractPrioritySerialTrigger properly orders the edges when executing.

Change-Id: Ifa0cd1579875a1a81a8d975374d4d2d7ecf87043