New Zealand beat Sri Lanka in last league match