UN chief says end ‘madness’ of nuclear weapon testing