MULE-7502: Changes from PR comments. Added scenario for endpoint within scope.