Patrick Cockburn: The new Prime Minister is about to find his political skills being put to a ferocious test