Replaced checks for intl extension with checks for idn_to_ascii() in tests