anchor.diff:  	Destination = ocs:generate_identity(),
   	SessionId = [{'Session-Id', list_to_binary(ocs:generate_password())}],
   	ServiceType = <<"32251@3gpp.org">>,
  -	{out_of_credit, _} = ocs_rating:rate(diameter, ServiceType, 
  +	{out_of_credit, _} = ocs_rating:rate(diameter, ServiceType,
   			SubscriberID, Destination, interim, [{octets, Debit}], [], SessionId),
   	{ok, #subscriber{session_attributes = []}} = ocs:find_subscriber(SubscriberID).
   
  -final_call_remove_session_attributes() ->
  -	[{userdata, [{doc, "Final call remove session attributes from subscriber record"}]}].
  -
  -final_call_remove_session_attributes(_Config) ->
  -	ProdID = ocs:generate_password(),
  -	Price = #price{name = "overage", type = usage,
  -		units = octets, size = 1000, amount = 100},
  -	Product = #product{name = ProdID, price = [Price], specification = 4},
  -	{ok, _} = ocs:add_product(Product),
  -	SubscriberID = list_to_binary(ocs:generate_identity()),
  -	Password = ocs:generate_password(),
  -	Chars = [{validity, erlang:system_time(?MILLISECOND) + 2592000000}],
  -	RemAmount = 1000,
  -	Debit = 100,
  -	Buckets = [#bucket{units = cents, remain_amount = RemAmount,
  -		start_date = erlang:system_time(?MILLISECOND),
  -		termination_date = erlang:system_time(?MILLISECOND) + 2592000000}],
  -	SA1 = {erlang:system_time(?MILLISECOND), [{?AcctSessionId, "1020303"},
  -		{?NasIdentifier, "rate1@sigscale"}, {?NasIpAddress, "10.0.0.1"}]},
  -	SA2 = {erlang:system_time(?MILLISECOND), 
  -		[{'Session-Id', list_to_binary(ocs:generate_password())},
  -		{?NasIdentifier, "rate2@sigscale"}, {?NasIpAddress, "10.0.0.2"}]},
  -	Subscriber = #subscriber{name = SubscriberID, password = Password,
  -			buckets = Buckets, session_attributes = [SA1],
  -			product = #product_instance{product = ProdID, characteristics = Chars}},
  -	mnesia:dirty_write(subscriber, Subscriber),
  -	Destination = ocs:generate_identity(),
  -	ServiceType = <<"32251@3gpp.org">>,
  -	{ok, _, _} = ocs_rating:rate(diameter, ServiceType,
  -			SubscriberID, Destination, initial, [], [], [SA2]),
  -	{ok, _, _} = ocs_rating:rate(diameter, ServiceType, SubscriberID,
  -			Destination, final, [{octets, Debit}], [], [SA2]),
  -	{ok, #subscriber{session_attributes = [SA1]}} = ocs:find_subscriber(SubscriberID).
  -
  -debit_and_reservation_with_sufficient_amount() ->
  +interim_debit_and_reserve_available() ->
   	[{userdata, [{doc, "Debit given usage and check for reservation, sufficient balance exists"}]}].
   
  -debit_and_reservation_with_sufficient_amount(_Config) ->
  +interim_debit_and_reserve_available(_Config) ->
   	ProdID = ocs:generate_password(),
   	PackagePrice = 100,
   	PackageSize = 1000,
  
positive.code: 	end,
  	Reserved = F(InterimReservation).
  
  interim_reservations_within_package_size() ->
  	[{userdata, [{doc, "Reservation amounts less than package size"}]}].
  
  interim_reservations_within_package_size(_Config) ->
  	ProdID = ocs:generate_password(),
  	PackagePrice = 100,
  	PackageSize = 1000,
  
negative.code: 			= ocs_rating:rate(diameter, ServiceType, SubscriberID, Destination,
  			interim, [{octets, PackageSize}], [{octets, PackageSize}], SessionId).
  
  interim_reserve_out_of_credit() ->
  	[{userdata, [{doc, "Out of credit on reservation"}]}].
  
  interim_reserve_out_of_credit(_Config) ->
  	ProdID = ocs:generate_password(),
  	PackagePrice = 100,
  	PackageSize = 1000,
  