Refactored travis/test cases for ssl.