Add test for attempt.json fix.