Fixes SPOT-741 - adding unit tests for the download/upload methods