Modified test_x509.py and test_log.py to work on Linux