India outplay New Zealand in its 500th test match