Fixed some StringReplacer tests