tests for smtp