better tests for random seed