@Test
public void testChars() {

    lwriter.writeChar('a');
    assertEquals("?a", output.toString());
    reset();
    lwriter.writeChar('?');
    assertEquals("?\\?", output.toString());
    reset();
    lwriter.writeChar('\\');
    assertEquals("?\\\\", output.toString());
}