This simple test evaluates how component events are invoked during the lifetime of an object.
In the AB test two components are inserted A and B, where B has a higher scriptPriority than A (meaning it should run first).
Note the order is unspecified for render(), since this is not sorted by scriptPriority)
[Run test]
[Run test AB]
[Run test BA]
[Run test DestroyGameObject]
Output