Test case for resources with nested resource.