tests: initial test coverage for res.download
test: commented out tests for res.format

need to make res.format work