Write a test for #4665
Write a test for #4665

scrapy/scrapy,scrapy/scrapy,pawelmhm/scrapy,pablohoffman/scrapy,elacuesta/scrapy,pablohoffman/scrapy,pawelmhm/scrapy,scrapy/scrapy,pawelmhm/scrapy,elacuesta/scrapy,pablohoffman/scrapy,elacuesta/scrapy