This is testing, that dataSample is capable of generating samples for sample_size as small as 1.
Since every time dataSample will produce different output, I believe all we can test is that the function is producing some output without any error.