Replaced checks for intl with checks for idn_to_ascii()
Updated pre-commit script
Reenabled commented tests