Fixed SMTP writer test.