filters: make tests actually fail when undefined events are returned (without commit 01687c89)