Fix build via CustomAlerts test