test_itertools was failing because of a version mismatch between the test and the implementation we copied