changed test if uploadCompleted is called