Completely irrelevant. Lack of a legal religion test does not mean that people can't choose candidates or make policy on the basis of religion. This is just like how protection from political discrimination doesn't prevent people from voting on candidates based on their party affiliation. It just means that states can't have a no democrat/republican criteria for office.