Add xml endpoint
Add test for XML endpoint
Add XML endpoint to index
pep8 cleanup on tests