added tests for scrape.js