Make scrapping failures explicit

Also added a test case for the parser.