code: def test_normalize_metadata_list_of_right_size():
      assert normalize_metadata([{"a": 1}], sources_count=1) == [
          {"a": 1}
      ]
      assert normalize_metadata(
          [{"a": 1}, {"b": 2}, {"c": 3}], sources_count=3
      ) == [{"a": 1}, {"b": 2}, {"c": 3}]
  
imports: import pytest
  from haystack.components.converters.utils import normalize_metadata
label_desc: Use image node_id 3 for calling a global function with example usage: test_normalize_metadata_list_of_right_size() without return types