Test case for resource with nested resource using namespace option.