Test for scrape, fix bug