Tests for request and uploaded file