anchor.diff:  	{ok, [{auth, AuthInstance}, {acct, _}]} = application:get_env(ocs, diameter),
   	[{Address, Port, _}] = AuthInstance,
   	Secret = "s3cr3t",
  +	InitialBal = 1000000,
   	ok = ocs:add_client(Address, Port, diameter, Secret),
  -	ok = ocs:add_subscriber(UserName, Password, [], 1000000),
  -	[{username, UserName}, {password, Password}] ++ Config;
  +	ok = ocs:add_subscriber(UserName, Password, [], InitialBal),
  +	[{username, UserName}, {password, Password}, {init_bal, InitialBal}] ++ Config;
   init_per_testcase(_TestCase, Config) ->
   	Config.
   
  
positive.code: 			'CC-Request-Type' = ?'DIAMETER_CC_APP_CC-REQUEST-TYPE_UPDATE_REQUEST',
  			'CC-Request-Number' = RequestNum1, 'Granted-Service-Unit' = GrantedUnits1} = Answer1,
  	#'diameter_cc_app_Granted-Service-Unit'{'CC-Total-Octets' = Balance1} = GrantedUnits1,
  	Usage2 = Balance1 - 1000000,
  	RequestNum2 = RequestNum1 + 1,
  	Answer2 = diameter_accounting_interim(SId, Username, RequestNum2, Usage2),
  	#diameter_cc_app_CCA{'Result-Code' = ?'DIAMETER_BASE_RESULT-CODE_SUCCESS',
  
negative.code: 
  %% @hidden
  diameter_accounting_interim(SId, Username, RequestNum, Usage) ->
  	UsedUnits = #'diameter_cc_app_Used-Service-Unit'{'CC-Total-Octets' = [Usage]},
  	CC_CCR = #diameter_cc_app_CCR{'Session-Id' = SId,
  			'Auth-Application-Id' = ?CC_APPLICATION_ID,
  			'Service-Context-Id' = "nas45@testdomain.com" ,
  			'User-Name' = Username,
  			'CC-Request-Type' = ?'DIAMETER_CC_APP_CC-REQUEST-TYPE_UPDATE_REQUEST',
  			'CC-Request-Number' = RequestNum,
  			'Used-Service-Unit' = [UsedUnits]},
  	{ok, Answer} = diameter:call(?SVC_ACCT, cc_app_test, CC_CCR, []),
  	Answer.
  	
  