anchor.diff:      Mod:terminate(reason, statename, state),
       Mod:code_change(oldvsn, statename, state, extra).
   
  -%% Stop a running pid - unlink and exit(kill) the process
  -%%
  +%% @doc Stop a running pid - unlink and exit(kill) the process
   stop_process(undefined) ->
       ok;
   stop_process(RegName) when is_atom(RegName) ->
  
positive.code:                     _ ->
                          application:set_env(lager, handlers, [{lager_console_backend, debug}])
                  end;
             (unload) ->
                  %% TODO: Remove this when the deregistration PR gets merged
                  Services = riak_api_pb_service:dispatch_table(),
                  NewServices = lists:foldl(
                                  fun dict:erase/2,
  
negative.code:             ok
      end.
  
  %% @doc Performs generic, riak_kv-specific and test-specific setup
  %% when used within a test fixture. This includes cleaning up any
  %% leaky state from previous tests (internally calling `cleanup/3'),
  %% loading dependent applications, starting distributed Erlang,
  %% starting dependent applications, and waiting for riak_kv to become
  %% available.
  %%
  %% The given `SetupFun' will be called first with the argument `stop'
  %% before other applications are stopped (to cleanup leaky test
  %% state), `load' after all other applications are loaded, and then
  %% `start' after all other applications are started. It is generally
  %% good practice to use the same function in the `SetupFun' as the
  %% `CleanupFun' given to `cleanup/3'.
  %%
  %% @see common_setup/2, dep_apps/2, do_dep_apps/2
  -spec setup(TestName::string(), fun((load|start|stop) -> any()) -> ok.
  setup(TestName, SetupFun) ->
      %% Cleanup in case a previous test did not
      cleanup(TestName, SetupFun, setup),
  