tests: added tests for simple search of Indexes