david warner hit his 23rd test century against pakistan in 2nd test