Australia build 417-run lead in first Test vs New Zealand