anchor.diff:  
   call_hooks() ->
       %% ONLY HOOK Tests
  -    ?assertEqual([], vmq_plugin:only(sample_hook, [])),
  -    ?assertEqual([1], vmq_plugin:only(sample_hook, [1])),
  -    ?assertEqual([1, 2], vmq_plugin:only(sample_hook, [1, 2])),
  -    ?assertEqual([1, 2, 3], vmq_plugin:only(sample_hook, [1, 2, 3])),
  +    ?assertEqual({sample_hook, 0}, vmq_plugin:only(sample_hook, [])),
  +    ?assertEqual({sample_hook, 1, 1}, vmq_plugin:only(sample_hook, [1])),
  +    ?assertEqual({sample_hook, 2, 1, 2}, vmq_plugin:only(sample_hook, [1, 2])),
  +    ?assertEqual({sample_hook, 3, 1, 2, 3}, vmq_plugin:only(sample_hook, [1, 2, 3])),
   
       %% call hook with wrong arity
       ?assertEqual({error, no_matching_hook_found},
  
positive.code:                  vmq_plugin:only(unknown_hook, [])),
  
      %% ALL HOOK Tests
      ?assertEqual([[]], vmq_plugin:all(sample_hook, [])),
  
      %% call hook with wrong arity
      ?assertEqual({error, no_matching_hook_found},
                   vmq_plugin:all(sample_hook, [1, 2, 3, 4])),
      %% call unknown hook
      ?assertEqual({error, no_matching_hook_found},
                   vmq_plugin:all(unknown_hook, [])),
  
      ?assertEqual([10,10,10], vmq_plugin:all(sample_all_hook, [10])),
  
  
      %% ALL_TILL_OK Hook Tests
      ?assertEqual(ok, vmq_plugin:all_till_ok(sample_all_till_ok_hook, [10])).
  
  
  
  -endif.
  
negative.code:     vmq_plugin_mgr:disable_module_plugin(sample_all_hook, ?MODULE, other_sample_hook_a, 1),
      vmq_plugin_mgr:disable_module_plugin(sample_all_hook, ?MODULE, other_sample_hook_b, 1),
      vmq_plugin_mgr:disable_module_plugin(sample_all_hook, ?MODULE, other_sample_hook_c, 1),
      vmq_plugin_mgr:disable_module_plugin(sample_all_till_ok_hook, ?MODULE, other_sample_hook_d, 1),
      vmq_plugin_mgr:disable_module_plugin(sample_all_till_ok_hook, ?MODULE, other_sample_hook_e, 1),
      vmq_plugin_mgr:disable_module_plugin(sample_all_till_ok_hook, ?MODULE, other_sample_hook_f, 1),
      vmq_plugin_mgr:disable_module_plugin(sample_all_till_ok_hook, ?MODULE, other_sample_hook_x, 1),
      call_no_hooks().
  
  
  