Primes and basic unit tests for them