PrimesStream and test