North Korea tests electromagnetic weapon and carbon fibre bomb: state media