File upload tests