Virat Kohli's India dominated 2017 in Test cricket as they shored up top spot in the rankings, but will face far tougher challenges in South Africa and England next year.