add test codes for non-ascii characters