[JENKINS-18457] Fix events

Tests don't run for me on Windows, but I tested it on my deployed gerrit/jenkins and it seems to work (at least CommentAdded)