Allow setting random seed as parameter
Make regressiontest reproducable