#125 Added tests for uploading files