fix email test case