fix test to use the new path (entity instead of resource)