Voting under way in local elections seen as a test for the pro-Beijing gov't after nearly half a year of demonstrations.