Add test for https://github.com/html5lib/html5lib-python/issues/4