test connection error