Added Mailer tests
Completed tests for Mailer.