fixed alerts test

details in email.