North Korea conducts test of nuclear weapon