modify testbench to let the program runnable