Fixed AlertService tests