A function to test how tg-search deals with the scan and scroll functionality of ElasticSearch is needed.