Rabies is fatal if not treated early. With a better test, people exposed to potentially rabid animals could avoid the weeks-long series of shots now given to prevent the disease.