test failing for printPrimes but it works :-(