The Pakistani government is now facing a critical test as it begins to clear out Taliban strongholds in the region bordering Afghanistan.