XML: Add support for Math node.
XML: support AddClosure node.
Add a test file.