Dexie.Syncable unit testing and fixing