issue #5685: replace create with new in EventTest.js