corrects the test of emails_controller