unit test added for primes module in algos