I guess if it is actually a potentiometer then it should have three leads, GND, +v (5v?) and the centre wiper. So if I didn't have a good pot to try first up I'd measure the voltage + gnd and check its correct, then measure what's coming off the wiper.