Added test cases for nested structures in AST