North Korea to the UN: "Testing weapons is our legitimate right"