code: def test_including():
      mode = Mode(optimizer="merge")
      assert set(mode._optimizer.include) == {"merge"}
  
      new_mode = mode.including("fast_compile")
      assert set(new_mode._optimizer.include) == {
          "merge",
          "fast_compile",
      }
  
file_path: pytensor/tests/compile/test_mode.py
imports: import copy
  import pytest
  from pytensor.compile.function import function
  from pytensor.compile.mode import AddFeatureOptimizer, Mode, get_default_mode, get_target_language
  from pytensor.configdefaults import config
  from pytensor.graph.features import NoOutputFromInplace
  from pytensor.graph.rewriting.db import RewriteDatabaseQuery, SequenceDB
  from pytensor.link.basic import LocalLinker
  from pytensor.tensor.math import dot, tanh
  from pytensor.tensor.type import matrix, vector
label_desc: Use image node_id 3 for calling a global function with example usage: test_including() without return types