code: def test_random_name_generation():
      # Validate exhausted loop truncation
      name = _generate_random_name(max_length=8)
      assert len(name) == 8
  
      # Validate default behavior while calling 1000 times that names end in integer
      names = [_generate_random_name() for _ in range(1000)]
      assert all(len(name) <= 20 for name in names)
      assert all(name[-1].isnumeric() for name in names)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_random_name_generation() without return types