adding tests for retriving primes for all types