South Africa is going to the polls for municipal elections that are being seen as a litmus test for the ruling ANC party.