Test CFAttributedStringCreateMutable and CFAttributedStringReplaceString