create option to store random seed in testPref