Copied from manakai repository <https://github.com/wakaba/manakai>
copied html5lib html parser tests as modified for manakai <https://github.com/wakaba/manakai>