In BC we use the RPR (rapid plasma reagin) blood test to check for syphilis.
This is an antibody test. Antibodies are made by your immune system to help fight things like viruses, bacteria etc... Once your body has made antibodies they can stay at detectable levels's for the rest of your life, even though all the syphilis bacteria would be gone from the antibiotic treatment.