cleaned up the utils tests a bit.
added ability to start gen_primes() at an arbitrary place.