Testing batteries with a plain old multimeter (and a resistor)