Some tests for MailServiceImpl