finished the test for email_processor