@Test
public void testGensym() {

    CodeOutput output = new CodeOutput();
    output.println(output.gensym());
    output.indent();
    CodeBlock block = output.block();
    output.dedent();
    block.println(block.gensym());
    Assert.assertEquals(output.toString(), "sym0\n   sym1\n");
}