Add test to ensure units are parsed from HTML table headers
Add test to ensure units are parsed from HTML table inferred headers
Fix unit parsing in HtmlInference.inferHeaders optimization and pass preferOptionals from callers