Remove old test code
Move store persistence decisions outside of the store itself

Notify subscribers of updates to the store, and let them decide if and where
to dump the store.