Add spec for filtering handling