Issue:
Bug: [BUG] Failing unit tests for routing and constraint graph



### Bug Description

Certain unit tests in the `euclid` and `kgraph_utils` crates are failing.

**euclid**
```
FAIL [   0.032s] euclid frontend::dir::test::test_consistent_dir_key_naming
```

**kgraph_utils**
```
FAIL [   0.037s] kgraph_utils mca::tests::test_debit_card_success_case
```

### Expected Behavior

All unit tests should pass.

### Actual Behavior

Some tests fail owing to being outdated or due to a code discrepancy.

### Steps To Reproduce

1. Clone the main branch
2. Run the unit tests for the `euclid` and `kgraph_utils` crates

### Context For The Bug

_No response_

### Environment

Local

### Have you spent some time checking if this bug has been raised before?

- [X] I checked and didn't find a similar issue

### Have you read the Contributing Guidelines?

- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Pull request description:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
This PR fixes a couple of failing unit tests in the `euclid` and `kgraph_utils` crates.

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->


## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless it is an obvious bug or documentation fix
that will have little conversation).
-->


## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
Running unit tests locally. API Tests not required

<img width="674" alt="image" src="https://github.com/juspay/hyperswitch/assets/47862918/babeb68b-2e8c-4b9e-925c-08c6ff55a9a9">

<img width="762" alt="image" src="https://github.com/juspay/hyperswitch/assets/47862918/a99b2bc7-57e2-45d6-a8af-754f0da52cbb">


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible


Testing:

Running unit tests locally. API Tests not required

<img width="674" alt="image" src="https://github.com/juspay/hyperswitch/assets/47862918/babeb68b-2e8c-4b9e-925c-08c6ff55a9a9">

<img width="762" alt="image" src="https://github.com/juspay/hyperswitch/assets/47862918/a99b2bc7-57e2-45d6-a8af-754f0da52cbb">

Patch:
diff --git a/crates/euclid/src/frontend/dir.rs b/crates/euclid/src/frontend/dir.rs
index bc16057fbb5..f2b9ab99049 100644
--- a/crates/euclid/src/frontend/dir.rs
+++ b/crates/euclid/src/frontend/dir.rs
@@ -809,6 +809,10 @@ mod test {
         let mut key_names: FxHashMap<DirKeyKind, String> = FxHashMap::default();
 
         for key in DirKeyKind::iter() {
+            if matches!(key, DirKeyKind::Connector) {
+                continue;
+            }
+
             let json_str = if let DirKeyKind::MetaData = key {
                 r#""metadata""#.to_string()
             } else {
diff --git a/crates/kgraph_utils/src/mca.rs b/crates/kgraph_utils/src/mca.rs
index ed96cd9b545..b32c8c23bd9 100644
--- a/crates/kgraph_utils/src/mca.rs
+++ b/crates/kgraph_utils/src/mca.rs
@@ -716,7 +716,6 @@ mod tests {
                             api_enums::CardNetwork::Mastercard,
                         ]),
                         accepted_currencies: Some(AcceptedCurrencies::EnableOnly(vec![
-                            api_enums::Currency::USD,
                             api_enums::Currency::INR,
                         ])),
                         accepted_countries: None,
@@ -734,7 +733,6 @@ mod tests {
                         ]),
                         accepted_currencies: Some(AcceptedCurrencies::EnableOnly(vec![
                             api_enums::Currency::GBP,
-                            api_enums::Currency::PHP,
                         ])),
                         accepted_countries: None,
                         minimum_amount: Some(10),
@@ -752,14 +750,6 @@ mod tests {
             status: api_enums::ConnectorStatus::Inactive,
         };
 
-        let currency_country_flow_filter = kgraph_types::CurrencyCountryFlowFilter {
-            currency: Some(HashSet::from([api_enums::Currency::INR])),
-            country: Some(HashSet::from([api_enums::CountryAlpha2::IN])),
-            not_available_flows: Some(kgraph_types::NotAvailableFlows {
-                capture_method: Some(api_enums::CaptureMethod::Manual),
-            }),
-        };
-
         let config_map = kgraph_types::CountryCurrencyFilter {
             connector_configs: HashMap::from([(
                 api_enums::RoutableConnectors::Stripe,
@@ -768,13 +758,31 @@ mod tests {
                         kgraph_types::PaymentMethodFilterKey::PaymentMethodType(
                             api_enums::PaymentMethodType::Credit,
                         ),
-                        currency_country_flow_filter.clone(),
+                        kgraph_types::CurrencyCountryFlowFilter {
+                            currency: Some(HashSet::from([
+                                api_enums::Currency::INR,
+                                api_enums::Currency::USD,
+                            ])),
+                            country: Some(HashSet::from([api_enums::CountryAlpha2::IN])),
+                            not_available_flows: Some(kgraph_types::NotAvailableFlows {
+                                capture_method: Some(api_enums::CaptureMethod::Manual),
+                            }),
+                        },
                     ),
                     (
                         kgraph_types::PaymentMethodFilterKey::PaymentMethodType(
                             api_enums::PaymentMethodType::Debit,
                         ),
-                        currency_country_flow_filter,
+                        kgraph_types::CurrencyCountryFlowFilter {
+                            currency: Some(HashSet::from([
+                                api_enums::Currency::GBP,
+                                api_enums::Currency::PHP,
+                            ])),
+                            country: Some(HashSet::from([api_enums::CountryAlpha2::IN])),
+                            not_available_flows: Some(kgraph_types::NotAvailableFlows {
+                                capture_method: Some(api_enums::CaptureMethod::Manual),
+                            }),
+                        },
                     ),
                 ])),
             )]),
@@ -838,8 +846,8 @@ mod tests {
                 dirval!(Connector = Stripe),
                 dirval!(PaymentMethod = Card),
                 dirval!(CardType = Debit),
-                dirval!(CardNetwork = DinersClub),
-                dirval!(PaymentCurrency = GBP),
+                dirval!(CardNetwork = Maestro),
+                dirval!(PaymentCurrency = PHP),
                 dirval!(PaymentAmount = 100),
             ]),
             &mut Memoization::new(),