added tests for sieve_gen and sieve_iter