Test for setDataSeries()