Fix test_tool2d_zoomprofile: set the correct expected length