test(component.legend) tests for toggleSeries default config