Adding prototype tests (IndexedDb)

- Partial tests
- Added error handling in missing handler