TST: fix some unreliable html_truncate tests
These are occasionally failing on travis: https://github.com/pydata/pandas/commit/2f59a027a28ef50aeedb7753420a7605a2036aaa

don't fail for me locally, so not sure what's up.
