anchor.diff:  
   test_active_one_dropped() ->
       ok = ?endgame:activate(testpid()),
  -    Main = self(),
       Pid = spawn_link(fun() ->
           ?pending:register(pending()),
           ?chunkstate:assigned(0, 0, 1, self(), testpid()),
           ?chunkstate:dropped(0, 0, 1, self(), testpid()),
  -        Main ! dropped,
  +        mainpid() ! dropped,
           etorrent_utils:expect(die)
       end),
       etorrent_utils:expect(dropped),
  
positive.code: 
  test_active_one_assigned() ->
      ok = ?endgame:activate(testpid()),
      Main = self(),
      Pid = spawn_link(fun() ->
          ?pending:register(pending()),
          ?chunkstate:assigned(0, 0, 1, self(), testpid()),
          Main ! assigned,
          etorrent_utils:expect(die)
      end),
      etorrent_utils:expect(assigned),
  
negative.code: 
  test_active_one_fetched() ->
      ok = ?endgame:activate(testpid()),
      %% Spawn a separate process to introduce the chunk into endgame
      Orig = spawn_link(fun() ->
          ?pending:register(pending()),
          ?chunkstate:assigned(0, 0, 1, self(), testpid()),
          mainpid() ! assigned,
          etorrent_utils:expect(die)
      end),
      etorrent_utils:expect(assigned),
  