anchor.diff:  		amqp_connection:close(Connection),
   		api_help:refresh(),
   		{200, Body10} = http:post(?WEBMACHINE_URL++"/users/"++User1++"/triggers/remove", 
  -					  "{\"function\" : \"less_than\",\"input\":5,\"streams\":\""++StreamId1++"\"}"),
  +					  "{\"function\" : \"less_than\",\"input\":5,\"streams\":\""++StreamId1++"\", \"vstreams\":\"\"}"),
   		api_help:refresh(),
   		{200, Body11} = http:post(?WEBMACHINE_URL++"/users/"++User2++"/triggers/remove", 
  -					  "{\"function\":\"less_than\",\"input\":5,\"streams\":\""++StreamId1++"\"}"),
  +					  "{\"function\":\"less_than\",\"input\":5,\"streams\":\""++StreamId1++"\", \"vstreams\":\"\"}"),
   		api_help:refresh(),
   		{200, Body12} = http:post(?WEBMACHINE_URL++"/users/"++User1++"/triggers/remove",
  -					  "{\"function\":\"less_than\",\"input\":10,\"streams\":\""++StreamId1++"\"}"),
  +					  "{\"function\":\"less_than\",\"input\":10,\"streams\":\""++StreamId1++"\", \"vstreams\":\"\"}"),
   		api_help:refresh(),
   		{200, Body13} = http:post(?WEBMACHINE_URL++"/users/"++User1++"/triggers/remove",
   					  "{\"function\":\"less_than\",\"input\":6,\"streams\":[\""
  -					  ++StreamId1++"\",\""++StreamId2++"\"]}"),
  +					  ++StreamId1++"\",\""++StreamId2++"\"], \"vstreams\":\"\"}"),
   	
   		api_help:refresh(),
   		{200, Body14} = http:delete(?WEBMACHINE_URL++"/users/"++User1),
  
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, {{_Version8, 200, _ReasonPhrase8}, _Headers8, Body8}} = httpc:request(post, {?WEBMACHINE_URL++"/streams/" ++ lib_json:to_string(StreamId1) ++"/data", [],"application/json", "{\"value\" : 7.0}"}, [], []),
  	{ok, {{_Version9, 200, _ReasonPhrase9}, _Headers9, Body9}} = httpc:request(post, {?WEBMACHINE_URL++"/streams/" ++ lib_json:to_string(StreamId2) ++"/data", [],"application/json", "{\"value\" : 4.0}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version10, 200, _ReasonPhrase10}, _Headers10, Body10}} = httpc:request(post, {?WEBMACHINE_URL++"/users/tomas/triggers/remove", [],"application/json", "{\"function\" : \"less_than\",\"input\":5,\"streams\":\"" ++ lib_json:to_string(StreamId1) ++"\", \"vstreams\":\"\"}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version11, 200, _ReasonPhrase11}, _Headers11, Body11}} = httpc:request(post, {?WEBMACHINE_URL++"/users/erik/triggers/remove", [],"application/json", "{\"function\" : \"less_than\",\"input\":5,\"streams\":\"" ++ lib_json:to_string(StreamId1) ++"\", \"vstreams\":\"\"}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version12, 200, _ReasonPhrase12}, _Headers12, Body12}} = httpc:request(post, {?WEBMACHINE_URL++"/users/tomas/triggers/remove", [],"application/json", "{\"function\" : \"less_than\",\"input\":10,\"streams\":\"" ++ lib_json:to_string(StreamId1) ++"\", \"vstreams\":\"\"}"}, [], []),
  	api_help:refresh(),
  	{ok, {{_Version13, 200, _ReasonPhrase13}, _Headers13, Body13}} = httpc:request(post, {?WEBMACHINE_URL++"/users/tomas/triggers/remove", [],"application/json", "{\"function\" : \"less_than\",\"input\":6,\"streams\":[\"" ++ lib_json:to_string(StreamId1) ++"\",\"" ++ lib_json:to_string(StreamId2) ++"\"], \"vstreams\":\"\"}"}, [], []),
  	api_help:refresh(),
  	timer:sleep(3000),
  	{ok, {{_VersionU3, 200, _ReasonPhraseU3}, _HeadersU3, BodyU3}} = httpc:request(get, {?WEBMACHINE_URL++"/users/tomas", []}, [], []),
  