Adds tests for self signed certificates.