add tests for EUC-JP and UTF-16BE