nz beat pak by 123 runs in 3rd test