Removed unused TestConnection function since it has been replaced with an ExtensionMethod