Add tests including EUC-JP tests; fix EUC-JP; etc.