Set the legend_layers in the test for printing the map.