search returns a list of references to resources of the specified type that are visible to the authenticated user, and contain the specified test