North Korea warns of nuclear test 'at any time'