Create store unit tests
|Reported by:||hhubner||Owned by:||hhubner|
The datastore needs a unit test suite that test basic functionality. It would be good to have a little store testing framework that makes it easy to write tests which run with the store being in various states (no log, with log, with snapshot, with log and snapshots). The object system should be tested separately from the transaction system.