Generate test around primes.