Use pseudorandom number generator in unit test of ranked bit vector