Tested .createOrReplaceType()