fixed tests for uploads controller