First version of randomized flow_mod processing inside switch with tests