anchor.diff:  	amqp_rpc_client:stop(NewAcctPid),
   	amqp_rpc_client:stop(EchoPid),
   
  +	ok.
  +
  +seqtest() ->
  +	{ok, Uid, Token, Expire} = new_account("ichiro", "1111"),
  +	ok = check_token(Token),
  +	ok = logout(Token),
   	ok.
   
   
  
positive.code: %%
  %%
  rpc_echo(_Payload) -> term_to_binary({ok,"echo!!"}).
  rpc_make_new_account(LoginId, Password) -> term_to_binary({ng, notoken}).
  rpc_login(LoginId, Password) -> term_to_binary({ng, notoken}).
  rpc_logout(Token) -> term_to_binary(ng).
  rpc_check_token(Token) -> ng.
  rpc_online(Token) -> ng.
  rpc_offline(Token) -> ng.
  
  
negative.code: impl_new_account(Id, Password) ->
  	{auth, Result, Uid} = auth_srv:new(Id, Password),
  	{token, Token, Expire} = token_srv:new(Uid),
  	{ok, Uid, Token, Expire}.
  
  impl_login(Id, Password) ->
  	{auth, Result, Uid} = auth_srv:lookup(Id, Password),
  	{token, Token, Expire} = token_srv:new(Uid),
  	{ok, Uid, Token, Expire}.
  
  impl_logout(Token) ->
  	{auth, ok} = auth_srv:record_logout(Token),
  	{token, ok} = token_srv:invalidate(Token),
  	ok.
  
  impl_check_token(Token) ->
  	{token, ok} = token_srv:lookup(Token),
  	ok.
  
  %%
  %% Behaviors
  