anchor.diff:  	U3R1Stream1 = lib_json:get_field(Body22,"_id"),
   	
   	%% Add random data between min and max for the streams
  -	random_data(15,0.0,15.0,U3R1Stream1),
  +	sinus_random_data(15,U3R1Stream1,1000),
   
   	%% Create resources for user4
   	{ok, {{_Version23, 200, _ReasonPhrase23}, _Headers23, Body23}} = httpc:request(post, {"http://localhost:8000/resources", [],"application/json", "{\"user_id\":\""++ User4 ++"\",\"name\":\"Resource1\",\"tags\":\"[water-level,Uppsala]\",\"description\":\"Water-level in Uppsala\",\"type\":\"Water-level\",\"manufacturer\":\"Ericsson\",\"model\":\"WLA099\",\"make\":\"\",\"serial\":\"AACV223\",\"location\":\"59.8581,17.6447\",\"active\":\"true\",\"uri\":\"http://uppsala.com\",\"polling_freq\":\"60\",\"creation_date\":\"2013-10-05\"}"}, [], []),
  
positive.code: 	U2R1Stream3 = lib_json:get_field(Body19,"_id"),
  	
  	%% Add random data between min and max for the streams
  	random_data(15,0.0,15.0,U2R1Stream1),
  	random_data(15,0.0,15.0,U2R1Stream2),
  	random_data(15,0.0,15.0,U2R1Stream3),
  		
  	%% Create stream for resource2 for user2
  	{ok, {{_Version20, 200, _ReasonPhrase20}, _Headers20, Body20}} = httpc:request(post, {"http://localhost:8000/streams", [],"application/json", "{\"resource_id\":\""++ U2Resource2 ++"\",\"name\":\"Stream1\",\"tags\":\"[water-level,Uppsala]\",\"description\":\"Water-level in Fyrisan in Uppsala\",\"private\":\"true\",\"type\":\"Water-level\",\"unit\":\"meter\",\"accuracy\":0.95,\"min_val\":0.0,\"max_val\":15.0,\"active\":\"true\",\"user_ranking\":10.0,\"subscribers\":169,\"last_updated\":\"2013-10-05T010502.0000\", \"creation_date\":\"2013-10-01\",\"history_size\": 5000,\"location\":\"59.8581,17.6447\"}"}, [], []),
  	U2R2Stream1 = lib_json:get_field(Body20,"_id"),
  	
  	%% Add random data between min and max for the streams
  	random_data(15,0.0,15.0,U2R2Stream1),
  
  	
  
  
negative.code: 	U1R3Stream2 = lib_json:get_field(Body14,"_id"),
  	
  	%% Add random data between min and max for the streams
  	sinus_random_data(15,U1R3Stream1,1000),
  	sinus_random_data(15,U1R3Stream2,1000),
  	
  	
  	
  