HSEARCH-1270 Create a testcase for Session.clear() indexing behaviour
HSEARCH-1270 Clear the pending indexing tasks at Session.clear()