Nigerians vote in test of African democracy