He should have thought about that before he tested...
The news reported earlier tonite that China had warned NK again, as late as last Thursday, to not do it.
They are not pleased. China is rapidly modernizing with a growing middle class. People are happy to get TV's. A happy people makes them happy with the government.
Anything that threatens the stability of the area potentially could upset the current status quo.
And the government knows that. Kim basically signed his own resignation papers by doing what he did.