testsfiles: fix interaction with set -e

Due to the 'e' flag being set in these tests scripts, surrounding
the grep call with an if statement is required.

Signed-off-by: Arturo Borrero Gonzalez <aborrero@cica.es>
runtests.sh: add more verbosity to debug mode

This commit adds more verbosity to the debug mode.

Signed-off-by: Arturo Borrero Gonzalez <aborrero@cica.es>