Australia won the three-match Test series against Pakistan, marking the last ever appearance of the legend David Warner in the Aussies' Test jersey.