Updated weight tables
Fixed checking for html in test file