- fix downloadXML
- add tests for downloadJSON and downloadXML