Fix alert test