Add test for XML, fix hash expectation
Correct docs