Gambian president faces key test to extend mandate after Thursday vote