Pakistan 4-235, 40 behind NZ in first Test