[test] add tests for filtering