Add spec for filtering assignments