tests for filtering added