Merge "Add unit tests for _get_unversioned_endpoint"