indexeddb | fixes promises
tests | clean slate with indexeddb