Created the test for the load and crash bug
Better name for test db
No crash for a bad filename if in memory only
Created function ensuring datafile integrity
ensureDatafileIntegrity completely tested
loadDatabase now uses ensureDatafileIntegroty
Basic test for persistCachgedDatabase
persistCachedDatabase is tested and works as before in the non crash case
All tests pass
All tests including the crash one pass
Use a more robust persistence scheme, thanks spolu and szawcz
Persistence well tested
Better test naming
Merge branch 'no-dataloss-during-loaddatabase'