Closed #3427: fixed some mistakes in NewEventManagerTest.js

fixed some mistakes in NewEventManagerTest.js