Fixed alert test to check for error events correctly.
Fixed alert test to check for error events correctly.

ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services