add test case for MailAccount