fix: refactored dial provider to follow the same pattern
fix: updated tests to override env variables they need instead of relying on the current values from .env