key tests and gen excepting making good primes