North Korea tests a nuclear-capable missile