Add Python version checking
Add Python test to versions_test.py