scrape exception unit test and impl complete