fix tests on action_mailer

Include appropriate helpers and use `assert_dom_equal` where applicable
I'll fix.