Adding prototype tests (IndexedDb)

- Partial tests
- Added error handling in missing handler
Merge pull request #4 from joseeight/tests

Adding prototype tests (IndexedDb)