Add accessors for Ast variants.
Add one more small test.