traffic generator testbench & fixes