Add reporting error of testbench

Add reporting error of testbench.