TLSClientConfig unittest improved and refactored