Fix mail test