The US Department of Defense said it could quickly prepare for a nuclear test. You just need a presidential order to do it.
This was stated by Acting Deputy Defense Secretary for Nuclear Affairs Drew Walter.
“I think it can happen fast enough”, – he said.
If Trump gives the order, “a very fast test can be done within a few months,” he said. But it would take years for a large-scale test and preparation for it.