[PATCH 03/12] tests: Add some debugging output for the test scripts themselves