Pakistan's players celebrate their revival on day two of the final Test. Picture: AP