unit tests: allow make test to correctly and quickly exit in case of problem while...