Fix for alerts being allowed to blow up tests