add plugin test for event order