North Korea defies world with nuclear test