@Test
public void testWriteUTF() throws IOException {

    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < 20; i++) {
        sb.append("\u06ea");
    }
    String s = sb.toString();
    assertEquals(s, writeAndReadUTF(s));
}