Add test for filter events