[V2] Rails3 compatibility: mailer test refactoring

rebased #399.