anchor.diff:  process_post_test() ->
   	{ok, {{_Version1, 200, _ReasonPhrase1}, _Headers1, Body1}} = httpc:request(post, {"http://localhost:8000/resources", [],"application/json", "{\"test\" : \"post\",\"owner\" : 0,\"streams\" : 1}"}, [], []),
   	{ok, {{_Version2, 200, _ReasonPhrase2}, _Headers2, Body2}} = httpc:request(post, {"http://localhost:8000/users/0/resources/", [],"application/json", "{\"test\" : \"post\",\"owner\" : 0,\"streams\" : 1}"}, [], []),
  +	timer:sleep(100),
   	?assertEqual("true",get_field_value(Body1,"ok")),	
   	?assertEqual("true",get_field_value(Body2,"ok")).
   
  
positive.code: %% @end
  get_resource_test() ->
  	{ok, {{_Version1, 200, _ReasonPhrase1}, _Headers1, Body1}} = httpc:request(post, {"http://localhost:8000/resources/", [],"application/json", "{\"test\" : \"get\",\"owner\" : 0}"}, [], []),
  	DocId = get_id_value(Body1,"_id"),
  	{ok, {{_Version2, 200, _ReasonPhrase2}, _Headers2, Body2}} = httpc:request(get, {"http://localhost:8000/resources/" ++ DocId, []}, [], []),
  	{ok, {{_Version3, 200, _ReasonPhrase3}, _Headers3, Body3}} = httpc:request(get, {"http://localhost:8000/users/0/resources/" ++ DocId, []}, [], []),
  
negative.code: %% @end
  put_resource_test() ->
  	{ok, {{_Version1, 200, _ReasonPhrase1}, _Headers1, Body1}} = httpc:request(post, {"http://localhost:8000/resources/", [],"application/json", "{\"test\" : \"put1\",\"owner\" : 0,\"streams\" : 1}"}, [], []),
  	timer:sleep(100),
  	DocId = get_id_value(Body1,"_id"),
  	{ok, {{_Version2, 200, _ReasonPhrase2}, _Headers2, Body2}} = httpc:request(put, {"http://localhost:8000/resources/" ++ DocId , [],"application/json", "{\"doc\" :{\"test\" : \"put2\",\"owner\" : 0,\"streams\" : 1}}"}, [], []),
  	{ok, {{_Version3, 200, _ReasonPhrase3}, _Headers3, Body3}} = httpc:request(get, {"http://localhost:8000/resources/" ++ DocId, []}, [], []),
  