tests: cover SSL connection failure

+comment about the debug decorator coverage