more tests and fixes
utf8 tests