France test-fired an upgraded version of its M51 strategic ballistic missile from a submarine for the first time on Tuesday.