add unittest on xml document + support by default multipart message