Rails3 compatibility: mailer test refactoring