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