Iran votes in test for Ahmadinejad