Add special hook to diagnose travis failing test.