The unit tests compile
Start to fix the unit tests

Basic tests for contents/nodes/commits/merge seem to work for the in-memory store.
Need to fix the rest now ...