finished adding unit tests for scraper.py