replace console print in scraper test with logger