elpy-tests.el, test.sh: Adapt to the Travis environment.