testPrime fix for small primes + examples + tests