Use assert_dom_equal

Fixes #201.

/cc @rafaelfranca