add tests for the file upload module