test: improbe error reporting in testbench

Now the testbench report more explicit errors.

Signed-off-by: Christian Mora Moreno <christian.mora@cica.es>