Wrote more tests for uploading functionality