Why not to use assert_xml_equal from nrmllib? Perhaps in should not stay in tests/_utils.py but in a more accessible place.