Fix upload test