For India, the partnership will be tested less by who sits in the prime minister's chair than by how both countries steer through a rough neighbourhood.