get the tests to pass consistently in Safari
Add testem to test HTML files also fix tables tests in Firefox