anchor.diff:  
   -include("meddatum.hrl").
   
  --export([setup/0, teardown/1]).
  +-export([setup/0, setup/1, teardown/1]).
   
   -export([create_config/0, check_config/0,
            setup_riak/0,
  
positive.code: %%
  %% Copyright (C) 2013-2013 UENISHI Kota
  %%
  %%    Licensed under the Apache License, Version 2.0 (the "License");
  %%    you may not use this file except in compliance with the License.
  
negative.code:          delete_all_ssmix/1, delete_recept/1]).
  
  setup() ->
      setup(true).
  
  setup(NeedRiak) when is_boolean(NeedRiak) ->
  
      %% ok = error_logger:tty(false),
      {ok, Pid} = treehugger:start_link([{output, standard_io}]),
      treehugger:log(Pid, "starting meddatum", []),
      {ok, Config} = meddatum_config:get_config(),
  
      {ok, {Host, Port}} = meddatum_config:get_riak(Config),
      {ok, Riakc} =
          case NeedRiak of
              true -> riakc_pb_socket:start_link(Host, Port);
              false -> {ok, undefined}
          end,
      {ok, #context{logger=Pid, riakc=Riakc, config=Config}}.
  
  teardown(#context{logger=Pid, riakc=Riakc} = _Ctx) ->
  