Please add a test for `toggleLegend.scale()`.