Fix transiently failing test.
Update dev-requirements to hopefully work with Python 3.