North Korea has succeeded in testing a state-of-the-art, powerful rocket engine, state media reports.