Extract url based logic to another service
Complete test in historyFetchers