improve ssl test cases
modify the structure