Add pytest to requirements.txt
Apparently it was installed by default on Travis CI, but not on GitHub actions.