The Black Caps dislodged India as the world’s number one Test side as a result of their eight-wicket win at Edgbaston.