function genericSwitchTest(rule, ruleWith, aCheckall, shouldReceive, sendPayload, done) {
        var flow = [{id:"switchNode1",type:"switch",name:"switchNode",property:"payload",rules:[{"t":rule,"v":ruleWith}],checkall:aCheckall,outputs:1,wires:[["helperNode1"]]},
                    {id:"helperNode1", type:"helper", wires:[]}];
        customFlowSwitchTest(flow, shouldReceive, sendPayload, done);
    }
Test a switch node where one argument is consumed by the rule (such as greater than).
@param rule - the switch rule (see 10-switc.js) string we're using
@param ruleWith - whatever the rule should be executed with (say greater than 5)
@param aCheckall - whether the switch flow should have the checkall flag set to true/false
@param shouldReceive - whether the helper node should receive a payload
@param sendPayload - the payload message we're sending
@param done - callback when done