anchor.diff:      chashbin:create(CHash).
   
   cpteardown(_) ->
  -    meck:unload().
  +    do_nothing.
  +
  +test_replace_subpartition(CHBin) ->
  +
  +    NewChunk = [{548063113999088594326381812268606132370974703616,
  +                 node1, {0, 156}}],
  +
  +    [?_assertEqual(NewChunk,
  +                   replace_subpartition_chunk(182687704666362864775460604089535377456991567872,
  +                                              node2, {0, 156}, 3,
  +                                              0, [], riak_kv, CHBin,
  +                                              fun(_, _) -> [node1] end))].
   
   test_create_subpartition_plan(CHBin) ->
       Plan =
  
positive.code:     UpNodes = AvailNodeFun(Service, CHBin) -- [Node|DownNodes],
  
      %% We don't know what partition this subpartition is in, but we
      %% can request a preflist for it by subtracting RingIndexInc from
      %% the subpartition index to jump back a keyspace and send that
      %% new value to `riak_core_apl' as a document index.
      DocIdx = convert(SubpID, subpartition_index) - RingIndexInc,
      PrefList =
          docidx_to_preflist(DocIdx, NVal, Offset, UpNodes, CHBin),
      singular_preflist_to_chunk(PrefList, SubpID).
  
negative.code:      fun cpsetup/0,
       fun cpteardown/1,
       [fun test_create_traditional_plan/1,
        fun test_create_subpartition_plan/1,
        fun test_replace_subpartition/1]
      }.
  
  chash_init() ->
  