fixed prime_test unit test