fixes for issues with ssl tests