Pakistan's nuclear programme has only thing in mind. India. If India stops testing, major powers of the world will pounce on that nation and curtail it's nuclear program like anything, while India can go on to build it's nuclear arsenal without testing. Pakistan's influence in testing fades by a big margin and the necessity of it's nuclear program in the minds of nations like USA, if India stops testing. No one wants Pakistan's nuclear arsenal to be multiplied.