added tests for MailServlet