Test cases for Ronald L. Rivest's pseudo-random sampling algorithm