Testing send_email method