green
refactor: extract anonymous function
refactor: remove duplication while creating crawler with mocked request
refactor: removed unusedd dependency
refactor: move anonymous function to the beginning of the scope
refactor: remove harcoded string value
red: force rejecting a promise using sinon stubs