Lapid, set to be Israel’s next premier, faces critical test