issue #5685: replace create functions with operator new in ExtensionsTest