But in correspondence the following year , Kim congratulated China on its successful atomic tests and supported Beijing 's nuclear development as a defensive measure against US nuclear threats , Yonhap said .