issue #5685: replace create functions with operator new in EffectsAdvancedTest.js