code: def test_adding_option_hooks(ex):
      @ex.option_hook
      def hook(options):
          pass
  
      @ex.option_hook
      def hook2(options):
          pass
  
      assert hook in ex.option_hooks
      assert hook2 in ex.option_hooks
  
imports: from sacred import Ingredient
  from mock import patch
  import pytest
  import sys
  from sacred import cli_option
  from sacred import host_info_gatherer
  from sacred.experiment import Experiment
  from sacred.utils import apply_backspaces_and_linefeeds, ConfigAddedError, SacredError
label_desc: Use image node_id 15 for calling a global function with example usage: test_adding_option_hooks(ex) without return types