prime: Test with real large primes.
prime: Fix test.