anchor.diff:  	TotalGranted = InputOctets2 + OutputOctets2,
   	#'3gpp_ro_Granted-Service-Unit'{'CC-Total-Octets' = [TotalGranted]} = GrantedUnits.
   
  +receive_initial_empty_rsu_scur() ->
  +	[{userdata, [{doc, "On SCUR startRating with empty RSU send CCA-I"}]}].
  +
  +receive_initial_empty_rsu_scur(_Config) ->
  +	P1 = price(usage, octets, rand:uniform(10000000), rand:uniform(1000000)),
  +	OfferId = add_offer([P1], 4),
  +	ProdRef = add_product(OfferId),
  +	MSISDN = list_to_binary(ocs:generate_identity()),
  +	IMSI = list_to_binary(ocs:generate_identity()),
  +	Subscriber = {MSISDN, IMSI},
  +	Password = ocs:generate_identity(),
  +	{ok, #service{}} = ocs:add_service(MSISDN, Password, ProdRef, []),
  +	Balance = rand:uniform(1000000000),
  +	B1 = bucket(octets, Balance),
  +	_BId = add_bucket(ProdRef, B1),
  +	Ref = erlang:ref_to_list(make_ref()),
  +	SId = diameter:session_id(Ref),
  +	RequestNum = 0,
  +	Answer0 = diameter_scur_start1(SId, Subscriber, RequestNum, []),
  +	#'3gpp_ro_CCA'{'Result-Code' = ?'DIAMETER_BASE_RESULT-CODE_SUCCESS',
  +			'Auth-Application-Id' = ?RO_APPLICATION_ID,
  +			'CC-Request-Type' = ?'3GPP_CC-REQUEST-TYPE_INITIAL_REQUEST',
  +			'CC-Request-Number' = RequestNum,
  +			'Multiple-Services-Credit-Control' = [MultiServices_CC]} = Answer0,
  +	#'3gpp_ro_Multiple-Services-Credit-Control'{
  +			'Granted-Service-Unit' = []} = MultiServices_CC.
  +
   %%---------------------------------------------------------------------
   %%  Internal functions
   %%---------------------------------------------------------------------
  
positive.code: all() ->
  	[send_initial_scur, receive_initial_scur, send_interim_scur,
  		receive_interim_scur, send_final_scur, receive_final_scur,
  		receive_interim_no_usu_scur].
  
  %%---------------------------------------------------------------------
  %%  Test cases
  
negative.code: 			'CC-Total-Octets' = [InputOctets + OutputOctets]},
  	MultiServices_CC = #'3gpp_ro_Multiple-Services-Credit-Control'{
  			'Requested-Service-Unit' = [RequestedUnits], 'Service-Identifier' = [1],
  			'Rating-Group' = [2]},
  	ServiceInformation = #'3gpp_ro_Service-Information'{'PS-Information' =
  			[#'3gpp_ro_PS-Information'{
  					'3GPP-PDP-Type' = [3],
  					'Serving-Node-Type' = [2],
  					'SGSN-Address' = [{10,1,2,3}],
  					'GGSN-Address' = [{10,4,5,6}],
  					'3GPP-IMSI-MCC-MNC' = [<<"001001">>],
  					'3GPP-GGSN-MCC-MNC' = [<<"001001">>],
  					'3GPP-SGSN-MCC-MNC' = [<<"001001">>]}]},
  	CC_CCR = #'3gpp_ro_CCR'{'Session-Id' = SId,
  			'Auth-Application-Id' = ?RO_APPLICATION_ID,
  			'Service-Context-Id' = "32251@3gpp.org",
  			'User-Name' = [MSISDN],
  			'CC-Request-Type' = ?'3GPP_CC-REQUEST-TYPE_INITIAL_REQUEST',
  			'CC-Request-Number' = RequestNum,
  			'Event-Timestamp' = [calendar:universal_time()],
  			'Subscription-Id' = [MSISDN1, IMSI1],
  			'Multiple-Services-Credit-Control' = [MultiServices_CC],
  			'Service-Information' = [ServiceInformation]},
  	{ok, Answer} = diameter:call(?MODULE, cc_app_test, CC_CCR, []),
  	Answer.
  
  diameter_scur_start1(SId, {MSISDN, IMSI}, RequestNum, _Requested) ->
  	MSISDN1 = #'3gpp_ro_Subscription-Id'{
  			'Subscription-Id-Type' = ?'3GPP_SUBSCRIPTION-ID-TYPE_END_USER_E164',
  			'Subscription-Id-Data' = MSISDN},
  	IMSI1 = #'3gpp_ro_Subscription-Id'{
  			'Subscription-Id-Type' = ?'3GPP_SUBSCRIPTION-ID-TYPE_END_USER_IMSI',
  			'Subscription-Id-Data' = IMSI},
  	RequestedUnits = #'3gpp_ro_Requested-Service-Unit' {
  			'CC-Input-Octets' = [], 'CC-Output-Octets' = [],
  			'CC-Total-Octets' = []},
  	MultiServices_CC = #'3gpp_ro_Multiple-Services-Credit-Control'{
  			'Requested-Service-Unit' = [RequestedUnits],
  			'Rating-Group' = [2]},
  	ServiceInformation = #'3gpp_ro_Service-Information'{'PS-Information' =
  			[#'3gpp_ro_PS-Information'{
  