anchor.diff:  
   testid() -> 0.
   testpid() -> ?endgame:lookup_server(testid()).
  +testset() -> etorrent_pieceset:from_list([0], 8).
  +pending() -> ?pending:lookup_server(testid()).
   
   setup() ->
       {ok, PPid} = ?pending:start_link(testid()),
       {ok, EPid} = ?endgame:start_link(testid()),
  +    ok = ?pending:receiver(EPid, PPid),
  +    ok = ?pending:register(PPid),
       {PPid, EPid}.
   
   teardown({PPid, EPid}) ->
  
positive.code: -record(state, {
      active   :: boolean(),
      pending  :: pid(),
      requests :: gb_tree()}).
  
  
  server_name(TorrentID) ->
  
negative.code:         fun teardown/1, [
      ?_test(test_registers()),
      ?_test(test_starts_inactive()),
      ?_test(test_activated()),
      ?_test(test_active_one_assigned()),
      ?_test(test_active_one_dropped()),
      ?_test(test_active_one_fetched())
      ]}}.
  
  test_registers() ->
  