Pull out test utils from example ns and add a couple of basic tests that install to an in-memory database.