code: def test_index_access(self):
      test_list = [1, {"key1": "value1"}, 3]
      attr_list = AttributeList(test_list)
  
      assert attr_list[0] == 1
      assert isinstance(attr_list[1], AttributeDict)
      assert attr_list[1].key1 == "value1"
      assert attr_list[2] == 3
  
imports: from __future__ import annotations
  from typing import Any
  import pytest
  from airflow.providers.elasticsearch.log.es_response import AttributeDict, AttributeList, ElasticSearchResponse, Hit, HitMeta, _wrap
  from airflow.providers.elasticsearch.log.es_task_handler import ElasticsearchTaskHandler
label_desc: Use image node_id 2 for calling the TestAttributeList obj's underlying member method code with example usage: obj.test_index_access() without return types