Nathan Smith made the famous honours board as the Black Caps rallied to give themselves a fighting chance in a chaotic first test.