Correct testConnexion() and associated error messages