Fix TestNode, TestRestartNode, and TestUnstableEnts.

Add a Storage parameter to node construction parameters and update it in
callers.
Add Storage.Compact method.