Implement the scraper.requestPromise() test and fix the implementation