Experienced batsman Faf du Plessis says South Africa must master the unfamiliar conditions and home captain Babar Azam when they play their first test in Pakistan since 2007 in the opening match of a two-game series that starts in Karachi on Tuesday.