Added repository test for filtering on type