fix tests on action_mailer

Include appropriate helpers and use `assert_dom_equal` where applicable