@Test
public void testNextBigInteger() {

  BigInteger limit = new
      BigInteger("1234390583094589083690724905729037458907233245900987120359876321450987345");
  for (int i = 0; i < 10; i++) {
    BigInteger b = drng.nextBigInteger(limit);
    assertInRange(b, BigInteger.ZERO, limit);
  }
}