BF: update test to work using module-level random state
BF: update test to work using module-level random state

See SHA: 67a8b50fe5ffeb39d37093493dc02c124f12cc94

stefanv/permute,pbstark/permute,statlab/permute,qqqube/permute,kellieotto/permute,jarrodmillman/permute,kellieotto/permute