add test for utf8 input