Tests modified for IndexedDB

modified test cases of IndexedDB