Added unit test for the xhtml encoding parser fix