added tests, corrected atkins sieve