testConnection function returns error message string
Retrieve error message when testing connection
Display error message when Test Connection fails