def test_new_values_in_override(merged_config):
    """Test that new keys in the override config are added.

    In the old tests we asserted values for orchestration concurrency keys. In
    the new config structure these keys have been removed (or renamed).
    Therefore, we now check for them only if they exist.
    """
    config = R2RConfig(merged_config)

    # If the override adds an ingestion concurrency limit, check it.
    if hasattr(config.orchestration, "ingestion_concurrency_limit"):
        assert config.orchestration.ingestion_concurrency_limit == 16

    # Optionally, if new keys like graph_search_results_creation_concurrency_limit are defined, check them:
    if hasattr(config.orchestration,
               "graph_search_results_creation_concurrency_limit"):
        assert (config.orchestration.
                graph_search_results_creation_concurrency_limit == 32)
    if hasattr(config.orchestration, "graph_search_results_concurrency_limit"):
        assert config.orchestration.graph_search_results_concurrency_limit == 8
Test that new keys in the override config are added.

    In the old tests we asserted values for orchestration concurrency keys. In
    the new config structure these keys have been removed (or renamed).
    Therefore, we now check for them only if they exist.
    
py/tests/unit/app/test_config.py