Fixing some conflicting mismatch issues with sql configuration files and testing logic in the MOCK DB environment