Note that since this is a unit test, we might want to fix the random seed so we know the same data is always generated and outliers won't make it fail.