working test suite
Made email_controller test suite more comprehensive; fixed routing issue