Add test when giving a not string to the political method