Updated validator tests for name and hasText. name now works with unicode, and hasText is expected to fail for all unicode text (not supported).