Add primes_test. Add machinery in main() to report failure of the last test that failed.
Add primes_test. Add machinery in main() to report failure of the last test that failed.

giuliopaci/acopost,giuliopaci/acopost,giuliopaci/acopost,giuliopaci/acopost