fix alert tests