fix tests when intl is not installed