Experimental tests of the autocompensation model of doping