updated register testbench