If Muslims were responsible for the Barbary Wars, maybe we ought to hold Episcopalians responsible for the Revolution and War of 1812, Catholics responsible for the Quasi-War, Presbyterians for the Civil War, Greek Orthodox for the Aegean sea wars, Catholics again for the Mexican American War (and the Spanish-American War, come to think of it) and on and on and on.

The irony of claiming to uphold the Constitution while advocating a religious test for office is likely beyond your comprehension, but you might want to consider actually learning about history at some point.