HSEARCH-472 Add tests for dynamic sharding