send_mail tests