Use assert_dom_equal to compare doms

assert_equal will fail with 4.2.0 because tags attributes are not sorted
anymore