anchor.diff:  		{ok,{{_,200,_},_,_}} = httpc:request(post,{?WEBMACHINE_URL++"/users/"++UserId1++"/triggers/add",[],
   							       "application/json",
   							       "{\"function\" : \"less_than\",\"input\":5,\"streams\":[\"" 
  -							       ++ StreamId1 ++ "\",\""++StreamId2 ++"\"]}"}, [], []),
  +							       ++ StreamId1 ++ "\",\""++StreamId2 ++"\"], \"vstreams\":\"\"}"}, [], []),
   		{ok,{{_,200,_},_,_}} = httpc:request(post,{?WEBMACHINE_URL++"/users/"++UserId1++"/triggers/add",[],
   							       "application/json",
   							       "{\"function\" : \"less_than\",\"input\":4,\"streams\":\"" 
  -							       ++ StreamId2 ++"\"}"}, [], []),
  +							       ++ StreamId2 ++"\", \"vstreams\":\"\"}"}, [], []),
   		api_help:refresh(),
   		{UserId1, StreamId1, StreamId2}
   	end,
  
positive.code: 	
  	
  	%% Delete 
  	{ok, {{_Version9, 200, _ReasonPhrase9}, _Headers9, Body9}} = httpc:request(post, {?WEBMACHINE_URL++"/users/tomas/triggers/remove", [],"application/json", "{\"function\" : \"test\",\"input\":5,\"streams\":\"test\"}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version10, 200, _ReasonPhrase10}, _Headers10, Body10}} = httpc:request(get, {?ES_URL++"/sensorcloud/trigger/" ++ lib_json:to_string(DocId1), []}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version11, 200, _ReasonPhrase11}, _Headers11, Body11}} = httpc:request(post, {?WEBMACHINE_URL++"/users/tomas/triggers/remove", [],"application/json", "{\"function\" : \"test\",\"input\":6,\"streams\":\"test\"}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version12, 200, _ReasonPhrase12}, _Headers12, Body12}} = httpc:request(get, {?ES_URL++"/sensorcloud/trigger/" ++ lib_json:to_string(DocId3), []}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version13, 200, _ReasonPhrase13}, _Headers13, Body13}} = httpc:request(post, {?WEBMACHINE_URL++"/users/tomas/triggers/remove", [],"application/json", "{\"function\" : \"test\",\"input\":6,\"streams\":[\"test\",\"test2\"]}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version14, 200, _ReasonPhrase14}, _Headers14, Body14}} = httpc:request(get, {?ES_URL++"/sensorcloud/trigger/" ++ lib_json:to_string(DocId4), []}, [], []),
  	api_help:refresh(),
  
negative.code: 		{ok,{{_,200,_},_,_}} = httpc:request(post,{?WEBMACHINE_URL++"/users/"++UserId1++"/triggers/remove",[],
  							   "application/json",
  							   "{\"function\" : \"less_than\",\"input\":5,\"streams\":[\"" 
  							   ++ StreamId1 ++ "\",\""++StreamId2 ++"\"], \"vstreams\":\"\"}"}, [], []),
  		{ok,{{_,200,_},_,_}} = httpc:request(post,{?WEBMACHINE_URL++"/users/"++UserId1++"/triggers/remove",[],
  							       "application/json",
  							       "{\"function\" : \"less_than\",\"input\":4,\"streams\":\"" 
  							       ++StreamId2 ++"\", \"vstreams\":\"\"}"}, [], []),
  		{ok,{{_,200,_},_,_}} = httpc:request(delete,{?WEBMACHINE_URL++"/streams/"++StreamId1,[]},[],[]),
  		{ok,{{_,200,_},_,_}} = httpc:request(delete,{?WEBMACHINE_URL++"/streams/"++StreamId2,[]},[],[]),
  		{ok,{{_,200,_},_,_}} = httpc:request(delete,{?WEBMACHINE_URL++"/users/"++UserId1,[]},[],[])
  