add tests for ssl with self-signed certificate