medical testing or examinations for one or both parties. One of the most commonly mandated was a blood test for syphilis. Between the 1930s and 1950s, most US states passed laws requiring both parties to a marriage to undergo a Wassermann test (or equivalent) for syphilis. If one of the parties was found to have communicable syphilis, they would generally be prevented from marrying until they underwent treatment to resolve the infection. Before the availability of penicillin after World War II, the treatment of syphilis entailed a course of arsenic-based drugs for up to a year or more. These statutes were eventually repealed between the 1970s and 2000s, because they were considered to no longer be a cost-effective public health measure. In the 1980s and 1990s, many US state legislatures considered laws requiring premarital HIV testing, though only a small number were adopted, and were only briefly active before being repealed. As of 2010, premarital HIV testing is legally mandated in Bahrain, certain provinces of China, Libya, Saudi Arabia, the United Arab Emirates, and Uzbekistan. State recognition In many jurisdictions, a civil marriage may take place as part of the religious marriage ceremony, although they are theoretically distinct. In most American states, a wedding must be officiated by the justice of the peace in order for it to be recognized. However, priests, ministers, rabbis, and many other religious authorities can act as viable agents of the state. In some countries, such as France, Spain, Germany, Turkey, Argentina, Japan and Russia, it is necessary to be married by government authority separately from any religious ceremony, with the state ceremony being the legally binding one. In those cases, the marriage is usually legalized before the ceremony. Some jurisdictions allow civil marriages in circumstances which are notably not allowed by particular religions, such as same-sex marriages or civil unions. In a few jurisdictions, a marriage relationship may also be created by the operation of the law alone, as in common-law marriage, sometimes called "marriage by habit and repute." However, the term "common-law marriage" has wider informal use, and is commonly used to refer to cohabiting couples, regardless of any rights they may have. The institution of common-law marriage, in its original legal meaning, has been abolished in almost all jurisdictions that used to have it, and only survives in a few US states. In several jurisdictions, such as parts of Canada, while the