code: def test_url_generation_and_parse():
      url = "s3://abc/def/ray_good"
      offset = 10
      size = 30
      url_with_offset = create_url_with_offset(
          url=url, offset=offset, size=size
      )
      parsed_result = parse_url_with_offset(url_with_offset)
      assert parsed_result.base_url == url
      assert parsed_result.offset == offset
      assert parsed_result.size == size
  
imports: import copy
  import json
  import platform
  import random
  import sys
  from datetime import datetime, timedelta
  from unittest.mock import patch
  import numpy
  import pytest
  import ray
  from ray._private.external_storage import create_url_with_offset, parse_url_with_offset, _get_unique_spill_filename, FileSystemStorage, ExternalStorageSmartOpenImpl
  from ray._private.internal_api import memory_summary
  from ray._private.test_utils import wait_for_condition
  from ray._raylet import GcsClientOptions
  from ray.tests.conftest import buffer_object_spilling_config, file_system_object_spilling_config, mock_distributed_fs_object_spilling_config
label_desc: Use image node_id 6 for calling a global function with example usage: test_url_generation_and_parse() without return types