Both South and North Korea have tested weapons feared by military planners for their speed and ability to maneuver in flight.