added test cases for empty file upload, and multiple file uploads. added some doc strings.