Fixes a wrong test for HTMLContentElement

I found using `assertArrayEqual` to compare integers.
I guess, in this case, distributed nodes contain text nodes.