alert test fix
Merge pull request #2836 from sebv/alert-fix

alert test fix