fixed searchResourceTest