anchor.diff:  handle_side_effects([_H | T]) ->
       handle_side_effects(T).
   
  +
   %%%===================================================================
   %%% Unit tests
   %%%===================================================================
  +
   -ifdef(TEST).
   -compile(export_all).
   -include_lib("eunit/include/eunit.hrl").
  
positive.code: simple_queue_test() ->
      Tests = [
               {run,         {init, {?MAX_Q_LEN, [fsm1, fsm2]}}},
               {msg,         {put_on_queue, a_query}},
               {reply,       {qid, {node(), 1}}},
               {side_effect, {execute, {{fsm, fsm1}, {{node(), 1}, a_query}}}},
               {msg,         get_active_qrys},
               {reply,       {active_qrys, [{node(), 1}]}}
             ],
      {SideEffects, Replies, Errors} = runner_TEST(Tests),
      ?assertEqual({[], [], []}, {SideEffects, Replies, Errors}).
  
negative.code:     Tests = [
               {run,   {init, {?MAX_Q_LEN, [fsm1, fsm2]}}},
               {msg,   get_active_qrys},
               {reply, []},
               {msg,   get_queued_qrys},
               {reply, []}
             ],
      Results = runner_TEST(Tests),
      ?assertEqual({[], [], []}, Results).
  