add random seed as argument
generate data with different random seeds
modified reference tests