North Korea’s nuclear test was a sales pitch to other rogue states