Check syntax correctness of generated codes
Rename arguments for clearer meaning
Add syntax tree to unit test output