Fix OmeroPy tests.