Test file now generates random number of points