fix tests on action_mailer

Include appropriate helpers and use `assert_dom_equal` where applicable
sorry, got side-tracked in a support ticket. Thanks!