test random primes, too