rename func String to Ascii, add testcases