add test for smtp