Add tests for notification mailer