code: def test_presets_inserting_in_params_correct():
      """
      Check if operations from presets are correctly included in the dictionary
      with parameters for the composer
      """
      composer_params = ApiParamsRepository.default_params_for_task(
          TaskTypesEnum.regression
      )
      source_candidates = composer_params.get("available_operations")
  
      task = Task(TaskTypesEnum.regression)
  
      preset_best_quality = OperationsPreset(
          task=task, preset_name="best_quality"
      )
      updated_params = (
          preset_best_quality.composer_params_based_on_preset(
              composer_params
          )
      )
      updated_candidates = updated_params.get("available_operations")
  
      assert source_candidates is None
      assert updated_candidates is not None
  
file_path: FEDOT/test/unit/api/test_presets.py
imports: from fedot import Fedot
  from fedot.api.api_utils.api_params_repository import ApiParamsRepository
  from fedot.api.api_utils.presets import OperationsPreset
  from fedot.core.constants import FAST_TRAIN_PRESET_NAME
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.operation_types_repository import OperationTypesRepository, get_operations_for_task
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from test.data.datasets import data_with_binary_features_and_categorical_target
label_desc: Use image node_id 4 for calling a global function with example usage: test_presets_inserting_in_params_correct() without return types