Add integration tests for PrintingVisitor