Arguably it would also be better to test for the timeseries name string here instead of a CSS selector (similar to how you now do it for the format strings). Similar, for the absence in the test below.