Fixed test cases failing when the Intl extension is not installed