createElement/NS() tests with registered and not registered definition for typeExtension