Fixed scriptEventTest.