Senate violated Constitution’s ban on ‘religious tests’