Governance Aptitude Test

A while back I saw this video from the Onion and it got me wondering if there is any country that requires political candidates to pass certain tests to demonstrate qualification for office in the same way that medical doctors have to pass the boards, lawyers have to pass the bar, engineers the PE, etc.  It sure would be nice to be able to vote for someone based on something that mattered (like how well they know the issues) as opposed to BS like what someone wears…