Tests _tagReplace directly