@Test
public void testNextBytesUnequalSeed() {

  Random rand = new Random(42);
  final byte[] seed1 = new byte[32];
  final byte[] seed2 = new byte[32];
  rand.nextBytes(seed1);
  rand.nextBytes(seed2);
  AesCtrDrbg drbg1 = new AesCtrDrbg(seed1);
  AesCtrDrbg drbg2 = new AesCtrDrbg(seed2);
  final int arraySize = 150;
  byte[] bytes1 = new byte[arraySize];
  byte[] bytes2 = new byte[arraySize];
  drbg1.nextBytes(bytes1);
  drbg2.nextBytes(bytes2);
  // Bytes are unlikely to be equal when seed is unequal
  assertFalse(Arrays.equals(bytes1, bytes2));
  // The zero-array is very unlikely
  assertFalse(Arrays.equals(bytes1, new byte[arraySize]));
}