Fixes email test