added unit_test to prime_test