Correct the actual problem of tidy don't exist on hhvm and make the test pass for dom.