common testbench for tx/rx