Simplified workaround in unit test for iso-2022-jp