Improved testbench. Fixed minor issues with the rcb.