Measurement of the effect of quantum phase slips in a Josephson junction chain