fix mail test