code: def test_rewrite_model_builder(
      src_str, expected_src_str, expected_params
  ):
      assert rewrite_model_builder(src_str) == (
          expected_src_str,
          expected_params,
      )
  
file_path: hyperparameter_hunter/tests/test_keras_optimization_helper.py
imports: from hyperparameter_hunter.compat.keras_optimization_helper import clean_parenthesized_string, consolidate_layers, find_space_fragments, merge_compile_params, rewrite_model_builder
  from hyperparameter_hunter import Real, Categorical
  from collections import OrderedDict
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_rewrite_model_builder(src_str, expected_src_str, expected_params) without return types