Senegal local elections seen as a test for president, opposition