North Korea tests rocket engine