anchor.diff:          {error, notfound}=NotFound ->
               NotFound
       end.
  +
  +%% ===================================================================
  +%% Test API
  +%% ===================================================================
  +
  +-ifdef(TEST).
  +
  +test_link(Bucket, Key) ->
  +    gen_fsm:start_link(?MODULE, [test, Bucket, Key], []).
  +
  +-endif.
  
positive.code:     %% purposely have the timeout happen
      %% so that we get called in the prepare
      %% state
      {ok, prepare, #state{bucket=Bucket, key=Key}, 0}.
  
  %%--------------------------------------------------------------------
  %% @private
  
negative.code: %% @end
  %%--------------------------------------------------------------------
  start_link(Bucket, Key) ->
      gen_fsm:start_link(?MODULE, [Bucket, Key], []).
  
  get_active_manifest(Pid) ->
      gen_fsm:sync_send_event(Pid, get_active_manifest).
  