test for extracting data from malformed html