test codes: escape chars