Test for AST parsing to format and retrieve important information