PrimeFactorsStream and test