Indexing testedand works correctly