[PATCH v3 2/2] tests: Add debug information in testFormat()