eventdetectortest