Younis becomes top Pakistani scorer in test