repaired tests by adding ssl