Fix CubeList.merge_cube example to function as a doctest.