tests: Print diagnostics for skipped tests.