Flows tests

Add some tests for red/nodes/flows.js and remove some unused code, 
-Mark