Fix ctype_digit test