ignore binaries, and a few more test cases for primes