Add spec for filter