HSEARCH-735 Create a test for HSEARCH-734