Tests for HasStateMailer