Mailer tests

Adds test classes for Mailer and EmailAddress. Also fixes some comments that I had previously failed to notice.