Magic, nor any Jew who shall refuse to swear allegiance to the New Testament, nor any person of any faith who refuses to take the Pledge to the Flag, shall be permitted to hold any public office or to practice as a teacher, professor, lawyer, judge, or as a physician, except in the category of Obstetrics.