WIP: creating test for documentUpload