I agree with marriage tests when it applies to immigration, but not in general.
I think it's ridiculous under any other legal circumstances, though. Marriage between legal citizens should not be treated like an episode of The Newlywed Game
for the sake of state approval or validation. Granted, lots of people get married for the wrong reasons. Some people even do it with malicious, self-serving ulterior motives. But that shouldn't mean that everyone has to have big daddy government's blessing just to get married.