HSEARCH-1758 Adding a test to verify guessing of RangeQuery type