writing tests for use mailer