Tests that data is correctly loaded by IndexedDBModel from IndexedDB object store and index.