Corrpution test
Initializing all loops at the beginning of the test
Update test_corruption for the new layout
Fix 12 - LocalStorage writes to a temp file. Add 'abort_upload' handler.