add MailParser unit test.

fix GrepMail bug. When mail finished with multiple-
value-line will be wrongly considered as tocc mail.

Modify parse method of MailParser to test output message.