Add tests for MailAddress

Change-Id: Ia192919322743854096aceb24be0fcf9b1aa32b4