Basic codegen tree generation/testing