NZ hang on in fading light to draw Test