Measuring the effect of electrostatic patch potentials in Casimir force experiments