Test infra improvement: ResourceProvider now validates.