Write spec tests to test sendmail removal.