Closed #3427: Modify MenuTest with new event manager

Modify MenuTest with new event manager