anchor.diff:                  Index = <<"myindex">>,
                   Bucket = <<"mybucket">>,
                   ?assertEqual(ok, ?MODULE:create_search_index(Pid, Index)),
  -                wait_until( fun() ->
  -                    case ?MODULE:get_search_index(Pid, Index) of
  -                        {ok, IndexData} ->
  -                            proplists:get_value(index, IndexData) == Index;
  -                        {error, <<"notfound">>} ->
  -                            false
  -                    end
  -                end, 20, 1000 ),
                   ok = ?MODULE:set_search_index(Pid, Bucket, Index),
                   PO = riakc_obj:new(Bucket, <<"fred">>, <<"{\"name_s\":\"בָּרָא\"}">>, "application/json"),
                   {ok, _Obj} = ?MODULE:put(Pid, PO, [return_head]),
  
positive.code:                 Index = <<"myindex">>,
                  Bucket = <<"mybucket">>,
                  ?assertEqual(ok, ?MODULE:create_search_index(Pid, Index)),
                  wait_until( fun() ->
                      case ?MODULE:get_search_index(Pid, Index) of
                          {ok, IndexData} ->
                              proplists:get_value(index, IndexData) == Index;
                          {error, <<"notfound">>} ->
                              false
                      end
                  end, 20, 1000 ),
                  ok = ?MODULE:set_search_index(Pid, Bucket, Index),
                  PO = riakc_obj:new(Bucket, <<"fred">>, <<"{\"name_s\":\"Freddy\"}">>, "application/json"),
                  {ok, _Obj} = ?MODULE:put(Pid, PO, [return_head]),
  
negative.code:                  ok = ?MODULE:counter_incr(Pid, Bucket, Key, -5, [{w, quorum}, {pw, one}, {dw, all}]),
                   ?assertEqual({ok, 5}, ?MODULE:counter_val(Pid, Bucket, Key, [{pr, one}]))
               end)},
       {"create a search index / get / list / delete with default timeout",
       {timeout, 30, ?_test(begin
                  reset_riak(),
                  {ok, Pid} = start_link(test_ip(), test_port()),
  