Added tests for AST namespace.