fix upload test