fixing alert test