Tests added for filtering feature