Fixed text replacement tests to use non-empty tests (for stable output)