Reorganize database test file
Add test for storing and retrieving data
Fix getModel call without being inside a Dexie transaction
Add tests for updating data in Dexie addon