restructure ssl tests

fixes #169
obsoletes #172