Tests that database names are correctly loaded and saved in IndexedDBModel.