Fixed breaking upload test