### Description

Airflow Connection testing using airflow CLI would be very useful  , where users can quick add test function to test connection in their applications. It will benefit CLI user to create and test new connections right from instance and reduce time on troubleshooting any connection issue. 

### Use case/motivation

airflow connection testing using airflow CLI , similar function as we have in Airflow CLI. 
example:  airflow connection test "hello_id"

### Related issues

N/A

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

},
        }
        
        mock_parse_secret_file.return_value = expected_connections
        with redirect_stdout(io.StringIO()) as stdout:
            connection_command.connections_import(
                self.parser.parse_args(["connections", "import", "sample.json", "--overwrite"])
            )
            assert "Could not import connection new3: connection already exists." not in stdout.getvalue()
        
        current_conns = session.query(Connection).all()
        comparable_attrs = [
            "conn_id",
            "conn_type",
            "description",
            "host",
            "login",
            "password",
            "port",
            "schema",
            "extra",
        ]
        current_conns_as_dicts = {
            current_conn.conn_id: {attr: getattr(current_conn, attr) for attr in comparable_attrs}
            for current_conn in current_conns
        }
        assert current_conns_as_dicts["new2"] == expected_connections["new2"]
        
        assert current_conns_as_dicts["new3"] == expected_connections["new3"]