Fix list iterator test failures