[PATCH 11/12] tests: storage: Replace index testing in testStorageLookup