Fix sys.version_info check for Python 2.6. Skip a couple of tests if it is Python 2.6