New Zealand all-rounder Glenn Phillips secured his second test century with three runs.

Advertisement