Add a second `collect()` call which hopefully will make the test pass on PyPy.