Switched style tests to compare_xml.

--HG--
branch : 1.8
Use compare_xml for dxf style writing test.

--HG--
branch : 1.8