close #3822:Use the new event-dispatcher to update some lua test cases which used the old event-dispatcher