I can confirm that at the moment you register/apply for getting your driving license, you still need to have 90 days or more left on your visa. So you will have to carefully plan it! This is the reason why I did my driving test in freezing december. So the type and the total duration of the Visa don't matter! At least that's how it was December 2010, though I haven't heard from anyone that this has changed.