test($file-uploads): #1063 file-based unit test refactoring