Python code + SSL testing