Fix SSL tests