testing new file related testing approach
refactored csv spec to use tmp directory
Added download spec & some refactoring
Forgotten changes & fixed download spec