add test to mailimport