Add a name check test to the socket factory so that it can be checked the correct configurations are being used.