fixed alerts test