factor out getting of an XML node's text to from test to main (Scraper), rename printRows to logRows and use saveRows for mock test