fixed event firing check

Sorry, I was late to notice that one of my laters changes caused tests to fail due to some not-so-perfect conditions, this PR fixes them, so travis won't cry.