anchor.diff:  			[], SessionId),
   	RemAmount3 = RemAmount2 - (PackagePrice * 2),
   	{ok, #bucket{remain_amount = RemAmount3}} = ocs:find_bucket(BId1),
  -	[#bucket{reservations = _Reservations1},
  -			#bucket{reservations = _Reservations2}] = lists:foldl(F2, [], ocs:get_buckets(ProdRef)),
  +	[#bucket{attributes = #{reservations := _Reservations1}},
  +			#bucket{attributes = #{reservations := _Reservations2}}]
  +			= lists:foldl(F2, [], ocs:get_buckets(ProdRef)),
   	Debit3 = rand:uniform(PackageSize),
   	Debit4 = rand:uniform(PackageSize),
   	{ok, _, _} = ocs_rating:rate(diameter,
  
positive.code: 	RemAmount = 13,
  	B1 = bucket(cents, RemAmount),
  	SessionId1 = [{'Session-Id', list_to_binary(ocs:generate_password())}],
  	R = [{erlang:system_time(millisecond), 100,
  			undefined, undefined, undefined, SessionId1}],
  	B2 = B1#bucket{reservations = R},
  	BId = add_bucket(ProdRef, B2),
  	Timestamp = calendar:local_time(),
  	SessionId2 = [{'Session-Id', list_to_binary(ocs:generate_password())}],
  
negative.code: 			calendar:gregorian_seconds_to_datetime(TS + 60), undefined, undefined,
  			interim, [], [{PackageUnits, Reservation2}], SessionId),
  	{ok, #bucket{remain_amount = RemAmount3,
  			attributes = #{reservations := R2}}} = ocs:find_bucket(BId),
  	#{SessionId := #{debit := Reserved1}} = R2,
  	Reserved1 = F(Reservation2),
  	RemAmount3 = RemAmount1 - F(Reservation2),
  	Reservation3 = rand:uniform(PackageSize - 1),
  