Afghanistan must be enabled to get through testing times: FM