Added some test to access the method body and the accompanying change on the AST related classes.