add tests for pretty high-level filtering