cleaned up primes unit test