add test for xmail.