Flexible simulation program for testing time series statistics