Fix alert tests.