Use mock.patch in test_range_request_full_file