Add automatic tests for all Python versions

Our automatic tests are currently only running with Python 3.6. They should also run for all other supported Python versions.