debugged testbench