MongoPersister unit tests.