Start fixing real errors in the generated AST code.

For example, exports need to be assigned to 'exports'. Also, some typos.
Create a new test file for the AST
Adding some tests for the AST nodes and fixing uncovered problems