Add test for 1D data.