FIX: permature WaitForUpload() in test