anchor.diff:                   Value = <<"test value">>,
                    {OutputMD, _} = riak_pb_kv_codec:decode_content(
                                            riak_kv_pb:decode_rpbcontent(
  -                                           riak_kv_pb:encode_rpbcontent(
  -                                             riak_pb_kv_codec:encode_content({InputMD, Value})))),
  +                                           iolist_to_binary(riak_kv_pb:encode_rpbcontent(
  +                                             riak_pb_kv_codec:encode_content({InputMD, Value}))))),
                    ?assertEqual(ExpectedMD, dict:to_list(OutputMD))
                end)},
        {"empty content encode decode",
  
positive.code:                  {OutputMD, _} = lists:unzip(
                                     [riak_pb_kv_codec:decode_content(
                                        riak_kv_pb:decode_rpbcontent(
                                          riak_kv_pb:encode_rpbcontent(
                                            riak_pb_kv_codec:encode_content({MD, Value})))) ||
                                         MD <- InputMD]),
                   MdSame1 = (lists:sort(dict:to_list(lists:nth(1, OutputMD))) =:=
                                  lists:sort(dict:to_list(lists:nth(2, OutputMD)))),
  
negative.code:                  Value = <<"test value">>,
                   {MetaData2, Value2} = riak_pb_kv_codec:decode_content(
                                           riak_kv_pb:decode_rpbcontent(
                                             iolist_to_binary(riak_kv_pb:encode_rpbcontent(
                                               riak_pb_kv_codec:encode_content({MetaData, Value}))))),
                   ?assertEqual(lists:sort(dict:to_list(MetaData)), lists:sort(dict:to_list(MetaData2))),
                   ?assertEqual(Value, Value2)
               end)},
  