test cases stringreplacer