added tests to download uploaded data