Add tests for transformed calls.

Adds tests for function and method calls transformed to AST.
Improves AstTreeDumper.