Add test for send_email