anchor.diff:  			end_date = erlang:system_time(?MILLISECOND) + 2592000000},
   	{ok, _, #bucket{}} = ocs:add_bucket(ProdRef, Bucket),
   	Balance = receive
  -		Input2 ->
  -			{struct, BalanceEvent} = mochijson:decode(Input2),
  +		Input3 ->
  +			{struct, BalanceEvent} = mochijson:decode(Input3),
   			{_, "BucketBalanceCreationNotification"}
   					= lists:keyfind("eventType", 1, BalanceEvent),
   			{_, {struct, BalanceList}} = lists:keyfind("event", 1, BalanceEvent),
  
positive.code: 	P1 = #price{name = ocs:generate_identity(), type = usage, units = octets,
  			size = 1000, amount = 100},
  	OfferId = add_offer([P1], 4),
  	ok = ocs:delete_offer(OfferId),
  	receive
  		Input4 ->
  			{struct, BalDelEvent} = mochijson:decode(Input4),
  			{_, "ProductOfferingRemoveNotification"}
  					= lists:keyfind("eventType", 1, BalDelEvent)
  	end.
  
  post_hub_inventory() ->
  
negative.code: 	P1 = #price{name = ocs:generate_identity(), type = usage, units = octets,
  			size = PackageSize, amount = PackagePrice},
  	OfferId = add_offer([P1], 4),
  	receive
  		Input1 ->
  			{struct, OfferEvent} = mochijson:decode(Input1),
  			{_, "ProductOfferingCreationNotification"}
  					= lists:keyfind("eventType", 1, OfferEvent)
  	end,
  	{ok, #product{id = ProdRef}} = ocs:add_product(OfferId, [], []),
  	receive
  		Input2 ->
  			{struct, ProductEvent} = mochijson:decode(Input2),
  			{_, {struct, ProductList}} = lists:keyfind("event", 1, ProductEvent),
  			{_, ProdRef} = lists:keyfind("id", 1, ProductList)
  	end,
  