add additional tests with UTF-8 and UTF-16BE encoding