Add the XML format test.
Fix the property order.