gets mailer tests working
Merge pull request #37 from Rosie-Brigham/fixes-test

gets mailer tests working