Remove a guarantee that was crashing.
Starts of unittests for alt cache.
Adds some unittests.
Makes the tree test pass.
.