Test get resource option set and get chaining resouce option