Fixed upload tests