In stern signal to China, India tests 5,000-km range Agni-V