Senegal is heading toward a crucial political test, with local elections expected in January 2027.