Make collection robot tests more reliable.
Pep8.