Added testbed TX code