Testing file upload method