complete tests for single file upload