Fixed alerts tests
Merge pull request #1408 from mfalesni/fix-alert-tests

Fixed alerts tests