Fix validate_failures.py in standalone testing.