fix mailer tests
Merge pull request #43 from jereln/fix_tests

fix mailer tests